package com.tianluo.tianluobookstore.service;

import com.tianluo.tianluobookstore.domain.view.BookPageVO;
import com.tianluo.tianluobookstore.domain.view.BookVO;
import com.tianluo.tianluobookstore.request.AddBookRequest;
import com.tianluo.tianluobookstore.request.QueryBookRequest;

import java.util.List;

public interface BookService {

    int addBook(AddBookRequest request);

    BookPageVO pageQueryBookList(QueryBookRequest request);

    BookVO queryBookById(Integer bookId);

    List<BookVO> queryBookList(QueryBookRequest request);


}
